projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a84aa6e
)
(dired-readin): Locally bind file-name-coding-system.
author
Richard M. Stallman
<rms@gnu.org>
Mon, 6 Nov 2006 15:50:06 +0000
(15:50 +0000)
committer
Richard M. Stallman
<rms@gnu.org>
Mon, 6 Nov 2006 15:50:06 +0000
(15:50 +0000)
lisp/dired.el
patch
|
blob
|
history
diff --git
a/lisp/dired.el
b/lisp/dired.el
index 491ef261c116bea18aff76a64d559b09af7171bd..5359b464579a5e710b29ce6516ceda0bedb784b6 100644
(file)
--- a/
lisp/dired.el
+++ b/
lisp/dired.el
@@
-791,6
+791,9
@@
wildcards, erases the buffer, and builds the subdir-alist anew
(run-hooks 'dired-before-readin-hook)
(if (consp buffer-undo-list)
(setq buffer-undo-list nil))
+ (make-local-variable 'file-name-coding-system)
+ (setq file-name-coding-system
+ (or coding-system-for-read file-name-coding-system))
(let (buffer-read-only
;; Don't make undo entries for readin.
(buffer-undo-list t))